'use strict';
 const db = uniCloud.database() //对数据库的对象获取；
exports.main = async (event, context) => {
    const collection = db.collection('record-list') //对record-list数据库的获取；
 
    let res = await collection.where({
		turtle_id: event._id
    }).get()
 
    return {
        code: 200,
        msg: '查询成功',
        data: res
    }
}